<div *ngIf='messagesService.messages.length'>
    <h2>Messages</h2>
    <button class="clear"
      (click)='messagesService.clear()'>
      clear
    </button>
    <div *ngFor='let m of messagesService.messages'>
      {{m}}
    </div>
</div>
